package com.youkeda.service;

import com.youkeda.model.CourseTimetable;
import com.youkeda.model.WeekPlan;

import java.time.LocalDateTime;
import java.util.List;

/**
 * @author xshuai
 */
public interface CourseTimetableService {
    /**
     * plan timetable of course
     *
     * @param courseTimetable
     * @param startDay
     * @param endDay
     * @param weekPlans
     */
    void invoke(CourseTimetable courseTimetable,
                LocalDateTime startDay,
                LocalDateTime endDay,
                List<WeekPlan> weekPlans);

    /**
     * query timetable of class
     *
     * @param classesId
     * @return
     */
    CourseTimetable queryForClasses(String classesId);

}
